#!/bin/sh
# Copyright 1998-2019 Lawrence Livermore National Security, LLC and other
# HYPRE Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)

#=============================================================================
# sstruct: Run base 2d case
#=============================================================================

mpirun -np 1  ./sstruct -in sstruct.in.default_2D -r 2 2 1 -solver 19 \
 > default2d.out.0

#=============================================================================
# sstruct: Run various blockings and distributions of default problem
#=============================================================================

mpirun -np 1  ./sstruct -in sstruct.in.default_2D -b 2 2 1 -solver 19 \
 > default2d.out.1
mpirun -np 2  ./sstruct -in sstruct.in.default_2D -P 1 2 1 -r 2 1 1 -solver 19 \
 > default2d.out.2
